﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Helper_Ji
{
   public static class Helper_Creat
    {

       /// <summary>
       /// 新建ImageBrush
       /// </summary>
       /// <param name="uri"></param>
       /// <returns></returns>
       public static System.Windows.Media.ImageBrush CreatImageBrush(Uri uri )
       { 
           return new System.Windows.Media.ImageBrush(new System.Windows.Media.Imaging.BitmapImage(uri)); 
       }

    }
}
